package org.gas.barapraja.route;

import org.gas.barapraja.db.entity.Message;

public class SmsRouter implements MsgRouter{

	boolean routed=false;
	@Override
	public boolean isRouted(Message message) throws UnknownProviderException {
		String trgt=message.getTarget();
		if(trgt.contains(TLKOM_SEL)||trgt.contains(TLKOM_HALO1)||trgt.contains(TLKOM_HALO2))
			routed=true;
		return routed;
	}

	@Override
	public void routeMessage(Message message) {
		
	}

}
